home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
009a
/
comm_c_3.zip
/
COMM.H
< prev
Wrap
C/C++ Source or Header
|
1993-05-06
|
934b
|
31 lines
#ifndef TCICOMM
extern int xonxoff; /* auto xon/xoff support is on flag */
extern int portin; /* com port is open flag */
extern int xofsnt; /* XOFF transmitted flag */
extern int xofrcv; /* XOFF received flag */
#endif
#ifndef TIMEOUT /* Define Timeout if not already */
#define TIMEOUT -1
#endif
#define USR_BRK -2
/* port number parameters for comm_open() */
#define COM1 1 /* These are not really used but were */
#define COM2 2 /* here before. They can be commented */
#define COM3 3 /* out */
#define COM4 4
/* prototypes for externally called functions */
int comm_open ( int portid, unsigned speed );
void comm_close ( void );
void comm_flush ( void );
int comm_avail ( void );
void comm_putc ( unsigned char c );
int comm_getc ( unsigned seconds );
void flsh_dtr ( void );
int carrier ( void );
void delay (int msecs);